package com.cloudfun.campusshare.common.model.vo;

import com.cloudfun.campusshare.common.model.dto.PromotionSimpleDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * Created by CodeGenerator on 2020/06/05
 */
@Data
@ApiModel("优惠券列表VO")
public class CouponListVO {

    @ApiModelProperty("主键uuid")
    private String id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("金额")
    private String amount;

    @ApiModelProperty("有效天数")
    private Integer validDay;

    @ApiModelProperty("创建人id")
    private String creatorId;

    @ApiModelProperty("创建人名称")
    private String creatorName;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("关联优惠活动")
    private List<PromotionSimpleDTO> promotions;
}